programming4us
           
 
 
Windows Server

Windows Server 2008: Understanding and Deploying BranchCache (part 2)

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
1/2/2011 9:14:58 AM
Client-Side Configuration

Like the server-side configuration, the BranchCache feature must be enabled on Windows 7 clients. To enable this feature in Distributed Cache mode, there are two methods. The first method is via Netsh. For example, run a command prompt (Run As Administrator) and execute:

netsh branchcache set service mode=DISTRIBUTED

Note

Executing the previous command not only turns on and configures BranchCache, but also configures Windows Firewall with the appropriate rules to allow BranchCache to operate in this mode.


Needless to say, running a Netsh command is not the most efficient way of turning on BranchCache. That is why most people will use the second method for configuring BranchCache on clients in Distributed Cache mode, which is a GPO. Use the following steps to complete this task:

1.
Enable the Turn On BranchCache GPO setting (Computer Configuration\Policies\Administrative Templates\Network\BranchCache).

2.
Enable the Set BranchCache Distributed Cache Mode GPO setting (Computer Configuration\Policies\Administrative Templates\Network\BranchCache).

3.
Enable and configure the BranchCache for Network Files GPO setting (Computer Configuration\Policies\Administrative Templates\Network\BranchCache). Here, the latency value that determines when the network files aspect of BranchCache will kick in must be specified. The default is 80.

Note

The latency value can be set to 0, which forces BranchCache for network files (SMB) to be turned on all the time. Also, when you configure BranchCache via GPO, it overrides any configuration that is done via Netsh.


Lastly, once the BranchCache GPO settings have been configured, the next step is to configure Windows Firewall to allow incoming HTTP and WS-Discovery traffic:

  • Allow TCP HTTP - 80 Inbound (from all other BranchCache clients—at the branch office).

  • Allow UDP WS-Discovery - 3702 Inbound (from all other BranchCache clients—at the branch office).

Understanding WS-Discovery

WS-Discovery (Web Services Dynamic Discovery, or WSD) is a technical specification for a multicast discovery protocol that is used to locate services on a local network. WSD, which is not proprietary to Microsoft, is used by BranchCache to discover locally cached content. For example, BranchCache clients will initiate multicast WSD Probe messages with the hashes of the content probes to other BranchCache clients (also known as peers). If these peers have the content, they will then reply with a unicast Probe-Match message.

To understand how this all works, here is the basic flow:

1.
Client2 will first contact the content server FileServer1 for a document named File.doc.

2.
FileServer1 will respond with list of hashes that make up the indices of the requested content.

3.
Client2 will then send out a WSD Probe message to other clients in their local network.

4.
If there is a match on another peer, it responds to the Probe message with a Probe-Match.

5.
Client2 then will decide on where to get the content from (content server or other peers).

Note

If content is retrieved from other peers, this is done via HTTP.


Testing Distributed Cache Mode

To test BranchCache in Distributed Cache mode, the following must be in place:

1.
A Windows Server 2008 R2–based content server and content to put on that server.

2.
Two different network segments with some sort of latency.

3.
Two or more Windows 7 clients across continents from the content server.

Next, after the previously mentioned requirements are in place and BranchCache has been correctly configured for Distributed Cache mode, BranchCache can be tested using the following steps:

1.
On Client1, copy a file from the share on the content server to your desktop.

2.
Next, on Client2, copy the same file from the share on the content server to your desktop.

Note

These steps assume that BranchCache for network files is being tested.

Other -----------------
- Windows Server 2008 Server Core : Setting Security
- Windows Server 2008 Server Core : Creating LNK Files
- Configuring BitLocker Drive Encryption on a Windows Server 2008 R2 Branch Office Domain Controller (part 4)
- Configuring BitLocker Drive Encryption on a Windows Server 2008 R2 Branch Office Domain Controller (part 3) - Enabling BitLocker Drive Encryption when TPM Is Not Available
- Configuring BitLocker Drive Encryption on a Windows Server 2008 R2 Branch Office Domain Controller (part 2) - Enabling BitLocker Drive Encryption with TPM
- Configuring BitLocker Drive Encryption on a Windows Server 2008 R2 Branch Office Domain Controller (part 1)
- Windows Server 2008: Understanding BitLocker Drive Encryption
- Windows Server 2008: Installing a Read-Only Domain Controller (part 4) - Performing a Staged RODC Installation
- Windows Server 2008: Installing a Read-Only Domain Controller (part 3)
- Windows Server 2008: Installing a Read-Only Domain Controller (part 2)
- Windows Server 2008: Installing a Read-Only Domain Controller (part 1)
- Windows Server 2008: Understanding Read-Only Domain Controllers (part 2) - Understanding When to Leverage RODCs
- Windows Server 2008: Understanding Read-Only Domain Controllers (part 1)
- Windows Server 2008 : Understanding the Windows AIK (part 5) - Understanding Sysprep
- Windows Server 2008 : Understanding the Windows AIK (part 4) - Understanding ImageX and the .wim File Format
- Windows Server 2008 : Understanding the Windows AIK (part 3) - Understanding Windows PE
- Windows Server 2008 : Understanding the Windows AIK (part 2) - Understanding Windows SIM and Answer Files
- Windows Server 2008 : Understanding the Windows AIK (part 1)
- Windows Server 2008 : Configuring Windows Media Services (part 14) - Configuring Proxy Settings
- Windows Server 2008 : Configuring Windows Media Services (part 13) - Configuring Caching Settings
 
 
 
Top 10
 
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
- First look: Apple Watch

- 3 Tips for Maintaining Your Cell Phone Battery (part 1)

- 3 Tips for Maintaining Your Cell Phone Battery (part 2)
programming4us programming4us